PASTE SPRITE

This command will paste the sprite image to the screen, at the specified coordinates.

  Syntax
PASTE SPRITE Sprite Number, XPos, YPos
  Parameters
Sprite Number
Integer
Sprite number
XPos
Integer
The command will paste the sprite image to the screen, at the specified x coordinates
YPos
Integer
The command will paste the sprite image to the screen, at the specified y coordinates

  Returns

This command does not return a value.

  Description

The sprite image pasted to the screen is identical to the current state of the sprite, taking into account scaling, flipping and mirroring. The parameters should be specified using integer values.

  Example Code
cls
load image "man.bmp",1
sprite 1,100,100,1
wait 1000*8
do
paste sprite 1,mousex(),mousey()
loop
end
  See also

SPRITE Commands Menu
Index